package mapper;

import com.javabean.Dept;
import com.javabean.Muuid;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.ArrayList;

public interface MuuidMapper {
    int insertMuuid1(Muuid muuid);
    int insertMuuid2(Muuid muuid);

    @Select("select * from uuid")
    ArrayList<Muuid> selectAll();

    @Update("update uuid set name=#{name} where id=#{id}")
    int updateById(@Param("id") String id, @Param("name") String name);


}
